package org.apogee.mil.client.services.greeting;

import java.util.ArrayList;

import com.extjs.gxt.ui.client.data.BaseModel;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	public void loadConfig(AsyncCallback<Boolean> config);
	public void saveConfig(String config, AsyncCallback<Boolean> callback);
	public void initialize(AsyncCallback<Boolean> init);
	public void getServerConfig(AsyncCallback<ArrayList<BaseModel>> callback);
	public void getServerInfo(AsyncCallback<ArrayList<BaseModel>> callback);
	public void getMessages(int toUserId, AsyncCallback<ArrayList<BaseModel>> callback);
}
